import { API_HOST_10443 } from 'config'
import request from 'request'

export default {
   
  getDisplayProductType() {
    return request({
      url: API_HOST_10443 + "wx/product/getDefaultType",
      method: "GET",
      showLoading: true,
      showErrToast: true
    });
  },

  getProductSkus(data = {}) {
    return request({
      url: API_HOST_10443 + "wx/product/getSkus",
      data: data,
      method: "GET",
      showLoading: false,
      showErrToast: false
    });
  },

  getScope(data = {}) {
    return request({
      url: API_HOST_10443 + "wx/product/getScope",
      data: data,
      method: "GET",
      showLoading: false,
      showErrToast: false
    });
  }

}